#include"SList.h"
void test1()
{
	SListTypeData x = 1;
	SListNode* slist = NULL;
	/*SListPushBack(&slist, 2);
	SListPushBack(&slist, 3);
	SListPushBack(&slist, 4);
	SListPushBack(&slist, 5);
	SListPushBack(&slist, 6)*/;
	for (int i = 7; i < 11; i++)
	{
		SListPushBack(&slist, i);
	}
	SListPopBack(&slist);
	SListPopBack(&slist);
	SListPopBack(&slist);
	SListPushFront(&slist, 1);
	SListPushFront(&slist, 2);
	SListPushFront(&slist, 3);
	SListPushFront(&slist, 4);
	SListPushFront(&slist, 5);
	SListPopFront(&slist);
	SListPopFront(&slist);
	SListInsertAfter(SListFind(&slist, 3), 99);
	SListInsertAfter(SListFind(&slist, 99),88);
	SListInsertAfter(SListFind(&slist, 88), 77);
	SListEraseAfter(SListFind(&slist, 99));
	SListEraseAfter(SListFind(&slist, 3));
	SListPrint(slist);
}
int main()
{
	test1();
}